import { post } from "../../../utils/request";

const addplanList = data => post("mgt/plan/savePlan", data);

const releasePlan = data => post("mgt/plan/commitPlan", data);

const modplanList = data => post("mgt/plan/mod", data);

const detailPlan = data => post("mgt/plan/listFields", data);

const pushChannel = data => post("mgt/plan/channelDropDownList", data);

const auditPlan = data => post("mgt/pendingEvent/handle", data);

export default {
  addplanList,
  modplanList,
  detailPlan,
  pushChannel,
  releasePlan,
  auditPlan
};
